package com.jl.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * coalition
 */
@Table(name = "coalition")
@Alias("coalition")
@ApiModel
@Data
public class Coalition {
    /**
     * 
     */
    @Id
    @Column(name = "id")
    @ApiModelProperty("")
    private Integer id;

    /**
     * 联盟名称
     */
    @Column(name = "name")
    @ApiModelProperty("联盟名称")
    private String name;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "create_user")
    @ApiModelProperty("创建人")
    private Integer createUser;

}